package org.gdufe.users.service;

import org.gdufe.pojos.dto.InsertUserDto;
import org.gdufe.pojos.dto.PageParams;
import org.gdufe.pojos.dto.UpdateUserDto;
import org.gdufe.pojos.vo.PageResponseResult;
import org.gdufe.pojos.vo.R;

public interface UserService {
    PageResponseResult querry(PageParams pageParams,String username);
    R select(Integer id);
    R insert(InsertUserDto dto);
    R update(UpdateUserDto dto);
    R delete(Integer id);
    //根据username查询
    R selectByUsername(String username);

}
